<!--
 * @Description: 
 * @Autor: HuiSir<273250950@qq.com>
 * @Date: 2021-11-29 15:39:38
 * @LastEditTime: 2021-11-30 14:37:27
-->
<template>
    <div class="view">
        <drag-list class="dl" />
        <div class="cv">
            <my-canvas />
        </div>
    </div>
</template>
<script>
import myCanvas from './components/canvas.vue'
import dragList from './components/draglist.vue'
export default {
    name: 'View1',
    components: {
        myCanvas,
        dragList,
    },
    data() {
        return {}
    },
}
</script>
<style lang="scss" scoped>
.view {
    width: 100%;
    height: 100%;
    position: relative;
    .dl {
        width: 200px;
        height: calc(100% - 20px);
        position: absolute;
        left: 10px;
        top: 10px;
    }
    .cv {
        width: calc(100% - 220px);
        margin-left: 220px;
        height: 100%;
    }
}
</style>
